<template>
    <div class="myFont">
         <span id="login">登录</span>
      <button @click="test01">测试</button>
    </div>
</template>

<script>
  //导入test.js
  import {test} from '../assets/js/test'
  import $ from 'jquery'
    export default {
        name: "Login",
        methods:{
            test01(){
               const  v = $("#login").text();
               alert(v);
            }
        }


    }
</script>

<style scoped>

</style>
